Repository navigation
ci: restore PR+main triggers for the four Go build workflows (#6981) - #8490
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a273fe1b0d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "production-line-guard.yml|pr|6959" | ||
| # Phase 3 (#6981): all four dispatch-only AND disabled_manually; | ||
| # neither tier leg declared. | ||
| "go-modules-build.yml|pr|6981" | ||
| "go-modules-build.yml|main|6981" | ||
| "identity-build.yml|pr|6981" | ||
| "identity-build.yml|main|6981" | ||
| "map-build.yml|pr|6981" | ||
| "map-build.yml|main|6981" | ||
| "mcpx-nixbuild.yml|pr|6981" | ||
| "mcpx-nixbuild.yml|main|6981" | ||
| ) |
There was a problem hiding this comment.
Update the contract-test fixtures when removing the build waivers
Removing these waivers breaks .github/scripts/check-ci-policy-agreement.test.sh: its build_tree() fixture still creates all four build workflows as dispatch-only, so the first positive-case checker invocation at line 59 now exits with unwaived disagreements. The test also still asserts that #6981 waivers exist and uses one for its stale-waiver case. .github/workflows/workflow-lint.yml explicitly runs this test at lines 62–63, so PRs triggering that basic-tier check will fail even though the checker passes against the real repository. Update the fixtures and waiver assertions alongside this removal.
AGENTS.md reference: AGENTS.md:L34-L34
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 640b386: the contract-test fixtures now declare pull_request push workflow_dispatch for all four build workflows (matching the restored triggers), the positive case asserts the remaining recorded waivers (opencode-config-guard main tier, issue #6953), and the stale-waiver case now exercises opencode-config-guard gaining its push leg. Verified: check-ci-policy-agreement.test.sh passes 5/5 and check-ci-policy-agreement.sh passes against the real tree (2 waived disagreements remaining, both pre-existing Phase 2-3).
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 640b386490
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| paths: | ||
| - "pkgs/mcpx/**" | ||
| - ".github/workflows/mcpx-nixbuild.yml" |
There was a problem hiding this comment.
Restore unfiltered main-tier build triggers
For merges touching only shared build inputs, these new path filters skip the restored main-tier checks, although .github/ci-policy.md explicitly assigns all four build workflows “always (push to main, no path filter).” For example, changing lib/default.nix, which defines mcpx-packaging, will not trigger this workflow—the only workflow invoking that check. The container-image build is not equivalent because it disables checks and runtime wrapping. Remove the push.paths restrictions from the four restored workflows so the main tier retains its promised coverage.
AGENTS.md reference: AGENTS.md:L34-L34
Useful? React with 👍 / 👎.
Disposition for all four #6981 build workflows: RESTORE (each is the only build venue for its modules — pkgs/identity tagged variants sqlite/libsql, pkgs/map, the go-modules set chat/database/graph/import/launcher/tea, and the mcpx nix package). Each workflow gains the ci-policy tiers: push to main + pull_request, both path-gated to its modules plus the workflow file itself, keeping workflow_dispatch. The #6981 waivers are deleted in the same PR per the checker stale-waiver rule: the eight waiver rows in check-ci-policy-agreement.sh and the build-set row in ci-policy.md. Local verification (laptop): check-ci-policy-agreement.sh — OK (10 workflows checked; only the unrelated #6953/#6959 waivers remain). Remaining after merge (recorded on task 14425): re-enable the four workflows in Actions settings (currently disabled_manually) and link a completed main run per workflow as proof.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.